package com.book.domain;

public class Write {
	String bBookTitle;
	String bBookGenre;
	String bBookAuthor;
	String bEmotion;
	String bFont;
	String bFontBg;
	String bPosition;
	String bFontSize;
	String bContent;
	String bBimage;
	String bCoodinate;
	String mEmail1;
	String mNickName;
	String piFileName;
	String mSex;
	String mCode;
	String bookurl;
	
	public Write(){}

	public String getBookurl() {
		return bookurl;
	}
	
	public void setBookurl(String bookurl) {
		this.bookurl = bookurl;
	}



	public String getbBookTitle() {
		return bBookTitle;
	}

	public void setbBookTitle(String bBookTitle) {
		this.bBookTitle = bBookTitle;
	}

	public String getbBookGenre() {
		return bBookGenre;
	}

	public void setbBookGenre(String bBookGenre) {
		this.bBookGenre = bBookGenre;
	}

	public String getbBookAuthor() {
		return bBookAuthor;
	}

	public void setbBookAuthor(String bBookAuthor) {
		this.bBookAuthor = bBookAuthor;
	}

	public String getbEmotion() {
		return bEmotion;
	}

	public void setbEmotion(String bEmotion) {
		this.bEmotion = bEmotion;
	}

	public String getbFont() {
		return bFont;
	}

	public void setbFont(String bFont) {
		this.bFont = bFont;
	}

	public String getbFontBg() {
		return bFontBg;
	}

	public void setbFontBg(String bFontBg) {
		this.bFontBg = bFontBg;
	}

	public String getbPosition() {
		return bPosition;
	}

	public void setbPosition(String bPosition) {
		this.bPosition = bPosition;
	}

	public String getbFontSize() {
		return bFontSize;
	}

	public void setbFontSize(String bFontSize) {
		this.bFontSize = bFontSize;
	}

	public String getbContent() {
		return bContent;
	}

	public void setbContent(String bContent) {
		this.bContent = bContent;
	}

	public String getbBimage() {
		return bBimage;
	}

	public void setbBimage(String bBimage) {
		this.bBimage = bBimage;
	}

	public String getbCoodinate() {
		return bCoodinate;
	}

	public void setbCoodinate(String bCoodinate) {
		this.bCoodinate = bCoodinate;
	}

	public String getmEmail1() {
		return mEmail1;
	}

	public void setmEmail1(String mEmail1) {
		this.mEmail1 = mEmail1;
	}

	public String getmNickName() {
		return mNickName;
	}

	public void setmNickName(String mNickName) {
		this.mNickName = mNickName;
	}

	public String getPiFileName() {
		return piFileName;
	}

	public void setPiFileName(String piFileName) {
		this.piFileName = piFileName;
	}

	public String getmSex() {
		return mSex;
	}

	public void setmSex(String mSex) {
		this.mSex = mSex;
	}

	public String getmCode() {
		return mCode;
	}

	public void setmCode(String mCode) {
		this.mCode = mCode;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((bBimage == null) ? 0 : bBimage.hashCode());
		result = prime * result
				+ ((bBookAuthor == null) ? 0 : bBookAuthor.hashCode());
		result = prime * result
				+ ((bBookGenre == null) ? 0 : bBookGenre.hashCode());
		result = prime * result
				+ ((bBookTitle == null) ? 0 : bBookTitle.hashCode());
		result = prime * result
				+ ((bContent == null) ? 0 : bContent.hashCode());
		result = prime * result
				+ ((bCoodinate == null) ? 0 : bCoodinate.hashCode());
		result = prime * result
				+ ((bEmotion == null) ? 0 : bEmotion.hashCode());
		result = prime * result + ((bFont == null) ? 0 : bFont.hashCode());
		result = prime * result + ((bFontBg == null) ? 0 : bFontBg.hashCode());
		result = prime * result
				+ ((bFontSize == null) ? 0 : bFontSize.hashCode());
		result = prime * result
				+ ((bPosition == null) ? 0 : bPosition.hashCode());
		result = prime * result + ((bookurl == null) ? 0 : bookurl.hashCode());
		result = prime * result + ((mCode == null) ? 0 : mCode.hashCode());
		result = prime * result + ((mEmail1 == null) ? 0 : mEmail1.hashCode());
		result = prime * result
				+ ((mNickName == null) ? 0 : mNickName.hashCode());
		result = prime * result + ((mSex == null) ? 0 : mSex.hashCode());
		result = prime * result
				+ ((piFileName == null) ? 0 : piFileName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Write other = (Write) obj;
		if (bBimage == null) {
			if (other.bBimage != null)
				return false;
		} else if (!bBimage.equals(other.bBimage))
			return false;
		if (bBookAuthor == null) {
			if (other.bBookAuthor != null)
				return false;
		} else if (!bBookAuthor.equals(other.bBookAuthor))
			return false;
		if (bBookGenre == null) {
			if (other.bBookGenre != null)
				return false;
		} else if (!bBookGenre.equals(other.bBookGenre))
			return false;
		if (bBookTitle == null) {
			if (other.bBookTitle != null)
				return false;
		} else if (!bBookTitle.equals(other.bBookTitle))
			return false;
		if (bContent == null) {
			if (other.bContent != null)
				return false;
		} else if (!bContent.equals(other.bContent))
			return false;
		if (bCoodinate == null) {
			if (other.bCoodinate != null)
				return false;
		} else if (!bCoodinate.equals(other.bCoodinate))
			return false;
		if (bEmotion == null) {
			if (other.bEmotion != null)
				return false;
		} else if (!bEmotion.equals(other.bEmotion))
			return false;
		if (bFont == null) {
			if (other.bFont != null)
				return false;
		} else if (!bFont.equals(other.bFont))
			return false;
		if (bFontBg == null) {
			if (other.bFontBg != null)
				return false;
		} else if (!bFontBg.equals(other.bFontBg))
			return false;
		if (bFontSize == null) {
			if (other.bFontSize != null)
				return false;
		} else if (!bFontSize.equals(other.bFontSize))
			return false;
		if (bPosition == null) {
			if (other.bPosition != null)
				return false;
		} else if (!bPosition.equals(other.bPosition))
			return false;
		if (bookurl == null) {
			if (other.bookurl != null)
				return false;
		} else if (!bookurl.equals(other.bookurl))
			return false;
		if (mCode == null) {
			if (other.mCode != null)
				return false;
		} else if (!mCode.equals(other.mCode))
			return false;
		if (mEmail1 == null) {
			if (other.mEmail1 != null)
				return false;
		} else if (!mEmail1.equals(other.mEmail1))
			return false;
		if (mNickName == null) {
			if (other.mNickName != null)
				return false;
		} else if (!mNickName.equals(other.mNickName))
			return false;
		if (mSex == null) {
			if (other.mSex != null)
				return false;
		} else if (!mSex.equals(other.mSex))
			return false;
		if (piFileName == null) {
			if (other.piFileName != null)
				return false;
		} else if (!piFileName.equals(other.piFileName))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "Write [bBookTitle=" + bBookTitle + ", bBookGenre=" + bBookGenre
				+ ", bBookAuthor=" + bBookAuthor + ", bEmotion=" + bEmotion
				+ ", bFont=" + bFont + ", bFontBg=" + bFontBg + ", bPosition="
				+ bPosition + ", bFontSize=" + bFontSize + ", bContent="
				+ bContent + ", bBimage=" + bBimage + ", bCoodinate="
				+ bCoodinate + ", mEmail1=" + mEmail1 + ", mNickName="
				+ mNickName + ", piFileName=" + piFileName + ", mSex=" + mSex
				+ ", mCode=" + mCode + ", bookurl=" + bookurl + "]";
	}

	
	
}
